﻿using System.Timers;
using System.Windows.Controls;

namespace SportTraining.MVVM.View
{
    /// <summary>
    /// Interaction logic for CheckPrintPage.xaml
    /// </summary>
    public partial class CheckPrintPage : Page
    {
        public CheckPrintPage()
        {
            InitializeComponent();

            Timer timer = new Timer(6000) { AutoReset = false };
            timer.Elapsed += (o, args) => Helpers.WpfPageHelper.RedirectPage(this, AppUri.MainPage);
            timer.Start();
        }

    }
}
